<admintpl file="header" />
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:U('Department/index')}">部门管理</a></li>
        <li><a href="{:U('Department/add')}">新增部门</a></li>
    </ul>
    <form method="post" class="js-ajax-form">
        <table class="table table-hover table-bordered">
            <thead>
            <tr>
                <th>ID</th>
                <th>部门名称</th>
                <th>状态</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td>1</td>
                <td>研发部</td>
                <td><span class="label label-success">正常</span></td>
                <td>
                    <a href="{:U('Department/edit',array('id'=>$vo['id']))}">编辑</a>
                    <a href="{:U('Department/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">删除</a>
                </td>
            </tr>
            <tr>
                <td>2</td>
                <td>车间部</td>
                <td><span class="label label-important">已删除</span></td>
                <td>
                    <a href="{:U('Classify/edit',array('id'=>$vo['id']))}">编辑</a>
                    <a href="{:U('Classify/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">启用</a>
                </td>
            </tr>
            <foreach name="list" item="vo">
                <tr>
                    <td>1</td>
                    <td>A1111</td>
                    <td>安装部</td>
                    <td>安装轮胎</td>
                    <td>安装轮胎咋样咋样那噶</td>
                    <td>
                        <a href="{:U('Mete/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">编辑</a>
                        <a href="{:U('Mete/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">删除</a>
                    </td>
                </tr>
            </foreach>
            </tbody>
        </table>
        <div class="pagination">{$page}</div>
    </form>
</div>
<script src="__PUBLIC__/js/common.js?"></script>
</body>
</html>